Skip to content

Update test suite to ensure 100% code coverage - #53

Merged
clue merged 1 commit into
clue:1.xfrom
clue-labs:coverage
Oct 17, 2026
Merged

clue merged 1 commit into
clue:1.xfrom
clue-labs:coverage

Conversation

@clue

@clue clue commented Oct 17, 2026

Copy link
Copy Markdown
Owner

This changeset updates the CI setup to ensure 100% code coverage.

Builds on top of #52, #47 and clue/reactphp-eventsource#35

@clue clue added this to the v1.5.0 milestone Oct 17, 2026
@clue
clue requested a balanced review from Copilot October 17, 2026 20:17

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The coverage gate can succeed when the report or required metrics are missing.

1 open issue
What changed in this PR

Adds CI enforcement of 100% code coverage for the SSH connectors.

Changes:

  • Generates Clover reports and checks coverage totals in CI.
  • Adds an integration test for an incomplete SSH channel handshake.
  • Excludes debug branches from coverage and documents coverage reporting.
File Description
tests/​IntegrationSshProcessConnectorTest.php Tests rejection when channel confirmation never arrives.
src/​SshSocksConnector.php Excludes debug blocks from coverage.
src/​SshProcessConnector.php Excludes debug blocks from coverage.
README.md Adds coverage badge and reporting instructions.
.github/​workflows/​ci.yml Generates and checks Clover coverage metrics.

Review effort: Balanced

Comment thread .github/workflows/ci.yml
@clue
clue merged commit 24f6702 into clue:1.x Oct 17, 2026
16 checks passed
@clue
clue deleted the coverage branch October 17, 2026 20:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants